<#import "/spring.ftl" as spring />
<#include "../lib/consts.ftl">

<script src="${rctx}/dm/j/rest.js" ></script>
<div class="handleControl">
	<input type="submit" class="stdButton" style="width:80px" value="查询" onclick="getReferenceForm(this).action='${ctx}/html/userinfo'"/>
	<input type="button" class="stdButton" style="width:80px" value="新增" onclick="window.location = '${rc.contextPath}/html/userinfo/new'"/>
	<input type="button" class="stdButton" style="width:80px" value="删除" onclick="doRestBatchDelete('${rc.contextPath}/html/userinfo','items',document.forms.ec)"/>
<div>
<table>
<tr><td>item.userId</td><td>item.username</td><td>item.password</td><td>操作</td></tr>
<#list page.result as item>
<tr>
    <td>${item.userId} &nbsp;</td>
	<td>${item.username} &nbsp;</td>
	<td>${item.password}</td>
	<td>
		
	</td>
</tr>
</#list>
</table>